Properly use Typescript Set T with intersecting types

welcome to shbcf.ru